<h1 align="center">
    LIST PERTANYAAN UNTUK TEMA <?php echo $nama_tema?>
</h1>

<form action="<?php echo base_url()?>admin/poling_con/proses_isi/<?php echo $id_tema?>" method="post">
<?php echo form_hidden('jum_total', count($list_pilihan))?>
<table border="1" align="center" width="65%">
    <tr>
        <td align="center">
            No
        </td>
        <td align="center">
            Pertanyaan
        </td>
        <td align="center">
            Tipe
        </td>
        <td align="center">
            Aksi
        </td>
    </tr>
    <?php for($i=0;$i<count($list_pilihan);$i++){ ?>
    <tr>
        <td align="center" width="10%">
            <?php echo $i+1 ?>
        </td>
        <td align="center" width="35%">
            <?php echo $list_pilihan[$i]['ISI_PERTANYAAN'] ?>
        </td>
        <td align="center"  width="10%">
            <?php echo $list_pilihan[$i]['TIPE_PERTANYAAN'] ?>
        </td>
        <td align="center"  width="10%">
            <?php echo form_checkbox('pilihan[]', $list_pilihan[$i]['ID_PERTANYAAN']) ?>
        </td>
    </tr>
    <?php } ?>   
</table>
    <center><input type="submit" value="Simpan"/></center>
</form>